package auth

type Tree struct {
	SysId int `orm:"pk;auto;description(自增ID)"`
	AuthName string `orm:"size(64);description(权限名称)"`
	UrlFor string  `orm:"null;size(256);description(菜单的url,一级菜单没有url,二级菜单才有)"`
	Pid int  `orm:"description(父级菜单的ID)"`
	Weight int `orm:"default(0);description(权重，主要是为了菜单排序)"`
	Icon string `orm:"null;size(256);description(左侧菜单列表图标)"`
	Children []*Tree
}
